package com.zhangxu.microservice.system.web.convert;

import com.zhangxu.microservice.system.biz.dto.LoginReqDTO;
import com.zhangxu.microservice.system.biz.dto.TokenRespDTO;
import com.zhangxu.microservice.system.web.request.LoginReq;
import com.zhangxu.microservice.system.web.response.TokenResp;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface AuthConverter {

    LoginReqDTO toLoginReqDTO(LoginReq loginReq);

    TokenResp toTokenResp(TokenRespDTO tokenRespDTO);
}
